package com.zthz.douxing.command

import grails.validation.Validateable

/**
 * Created by zsw on 9/15/14.
 */

@Validateable
class RestTicketCommand {

    String fromCity//开始城市
    String toCity//达到城市
    String departDate//查询日期
    String trainNo//车次号

    static constraints = {

        fromCity nullable: false,null:false,blank: false
        toCity nullable: false,null:false,blank: false
        departDate nullable: false,null:false,blank: false
        trainNo nullable: true,null:true,blank: true
    }
}
